<%layout("../common/_layout.html", {nav: "柜员管理"}) {%>
<div class="result-title">
  <div class="result-list">
    <a href="/admin/operator/add" class="btn btn-primary btn6">添加柜员</a>
  </div>
</div>
<div class="result-content">
  <table class="result-tab" width="100%">
    <tr>
      <th width="5%">No.</th>
      <th>柜员名称</th>
      <th>业务类型</th>
      <th>操作</th>
    </tr>
    <%for(operator in operatorList) {%>
    <tr>
      <td>${operatorLP.index }</td>
      <td>${operator.name }</td>
      <td>${operatorBusinessList[operatorLP.index-1] }</td>
      <td>
        <a class="link-update" href="/admin/operator/edit?id=${operator.id }&type=business">修改权限</a>&nbsp;
        <a class="link-update" href="/admin/operator/edit?id=${operator.id }&type=password">修改密码</a>&nbsp;
        <a class="link-del" href="/admin/operator/delete?id=${operator.id }" onclick="return confirm('删除后无法恢复,确定要删除吗')">删除</a>&nbsp;
      </td>
    </tr>
    <%}%>
  </table>
</div>
<%}%>